
<div>
<?if(isset($system_message))echo $system_message;
echo validation_errors() !==''?'<div class="error">'.validation_errors().'</div>' : NULL;
?>	
<label class="label">Add Items to Inventory Form</label>
<hr class="clearfix">
<form action="<?=site_url('custodian/add_items');?>" method="POST">
<div class="row">
	<div class="large-12 columns">
		<label>Item Name:</label>
		<input type="text" name="item[item_name]" value="<?=set_value('item[item_name]');?>" required>
	</div>
</div>
<div class="row">
	<div class="large-4 columns">
		<label>Item Description:</label>
		<textarea name="item[item_desc]" required><?=set_value('item[item_desc]');?></textarea>
	</div>
	<div class="large-4 columns">
		<label>Brand</label>
		<input type="text" name="item_brand">
	</div>
	<div class="large-4 columns">
		<label>Serial:</label>
		<input type="text" name="item_serial">
	</div>
</div>
<div class="row">
	<div class="large-4 columns">
		<label>Item Quantity:</label>
		<input type="text" name="item[item_qty]" value="<?=set_value('item[item_qty]');?>" required>
	</div>
	<div class="large-4 columns">
		<label>Item Measure:</label>
		<input type="text" name="measure">
	</div>
	<div class="large-4 columns">
	</div>
</div>
<div class="row">
	<div class="large-4 columns">
		<label>Unit Price</label>
		<input type="text" name="item_unit_price" >
	</div>
	<div class="large-4 columns">
		<label>Purchase Price:</label>
		<input type="text" name="item_purchase_price">
	</div>
	<div class="large-4 columns">
	</div>
</div>
<div class="row">
	<div class="large-4 columns">
		<label>Item Category:</label>
		<?=form_dropdown('item[item_cat]',$cat,'required');?>
	</div>
</div>
<div class="input-block">
	<input type="submit" class="button tiny" name="add_item" value="Add New Item">
</div>
</form>
</div>